import { HTTP } from './http'

class Demo extends HTTP {
  queryListInfo ({ pageNo = 1, pageSize = 10, ...reset } = {}) {
    return this.post('/list', {
      pageNo,
      pageSize,
      ...reset
    }).then(data => {
      return data
    })
  }
  guoqi (data) {
    return this.post('/guoqi', data)
  }
}

export default new Demo()
